﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;

namespace GiveGraphModel
{
    public class SpecialtyArea
    {
        public int SpecialtyAreaId { get; set; }
        public string Name { get; set; }
    }

    public class SpecialtyAreaConfiguration : EntityTypeConfiguration<SpecialtyArea>
    {
        public SpecialtyAreaConfiguration()
        {
            Property(sa => sa.Name).IsRequired();
        }
    } 

}
